SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd04dd8b38e8cefc58412a48ccd62d5ca65ef2059b448287bf475289499b5ece5' 
  AND token = 'JRZylWpJKPTQMj/62VR8gFdmQj9LJarsxellecc2O1g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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