SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a31b8ed692dff80722519b8ca12f87f8a6fa38f6abeb81a0391db85dd827545b' 
  AND token = 'a1RaUg9+plXIeK3ORZYWeW/ZNHBStBBr29O6RQEmQpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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