SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '15bdbe26758da57c0d005103be8a912435c3b7f5b791f1d1cdaef7e0ebc365d1' 
  AND token = 'nyBFcLRd9+X6rp16mHOV7Ydkr8y8EOVNXuPBU51d6j8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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