SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '796a9f908cb7dd8533e9cea8f698782c382f4534fec032d0e52317f8914d1168' 
  AND token = 'WvUwzBI2gyT4hmcHQmgypTUsh0ObOSkfEMpeM1ws8LE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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