SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7df9839b196e889af79072737c10c1ee86c71fcbdbac49cc5dd9e6f50d852faa' 
  AND token = 'ddhuoq/tak7z1CjNDlHZkCf70FjQHBNMr2oH1V/KSLo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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