SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3c8fcb0774feafec45ae389983490cd3e564a8e40dbab533f7b7954523035cd2' 
  AND token = 'b3CWnISvie405AOF8lHnBfDaoM9klpq5Pwc8a9Tqljc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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