SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9f140b87ab64b987d32412927b532d736ced43b3127f8e858b740ca5596fe5fb' 
  AND token = 'Z4fTZEwo03xPvBPMspKfgcRFDRNHKH94esDzBmAQeKI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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