SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '418ec5f54a3aeee05dfdf8c3e31f44374772faec3b4edbaa6d68f4404d45ae4d' 
  AND token = 'NvKhUzwL3P4ByZeHxX5FdXwrLCUVosonsi3dtkzYlwk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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