SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ef4130daab2c5ed8c90a21f5ec277b4f67cd2b14eb7cd9bf9422a7c162f6277' 
  AND token = 'N7ZipiZTADkphlc449m4JaKN0ipI4ZgJV/y0zLjFEGM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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