SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e21e8a2947c48c7865f035b7a73d163d6eed17490b5b80a5fac0488fbe32089' 
  AND token = 'y/bEutM2DyD01ARZoCaYEC8DvyDpS8O9lvBiX46zOvo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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