SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02ce3e7a91641dd439fca337be077aec4eb4a0fc7fda4d4ce3eb729819c9e138' 
  AND token = 'tTb/pZ7skZf2Hgs9xAbzt4kYSEoqRk9XG2wOFPJyFsc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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