SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afa27e77a52e13aaa0b0eb1f320ce1fd3830ec207e823489c103c30fd0ec305f' 
  AND token = 'A4yE89MA+wbvsNuP0GdegB5/nAgjQFZ0Zi/nDOU9mho=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}