SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc0d02d17c570e71ca627b0c7c04c4cba47c8e0e9076f003fbdd6256d5021754' 
  AND token = 'KAmpf/3LPDJ60RGAUR1wvM9qPFT7QJVIkEhvJWV9sMY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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