SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fd7991331bf22d6601cdee27b54e1f03005bb94633adac861b4ca766267e37b2' 
  AND token = 'q278kQ8jco4Y+lFzpX/ivhrygEltbAdJkfTCx7TSS6A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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