SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e5f61499c7c66ad925341dc8e416e78911696b268f7de733231c1c9a44d2117' 
  AND token = 'oFoHjECgVxl6rvlnDK2XfrYR7USY6bOKmHHBsEokIvY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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