SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8eb74f57f196ececcc9a5c47190f961be360f902f3738f4e406d93bbdd2ddcd' 
  AND token = 'oklAuPJizDS+tcYdnb8dkWStZv4pc05Iz49vYNDBf6Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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