SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9d56430b0d7515a7fc8d516644ac17f2fd6b8ea39218c08f0f38f7c31f8a777' 
  AND token = 'gJH1Rtnkq6OjBPxuDEZDBr4d3iLARGFshHVF57IcQ5o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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