SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'caad316ecba1075c46d2ba809af4bd3b2bc4ef4a8628a2e575fef1a7e3cfdb27' 
  AND token = 'yxJLE1ad4ieON8FB1GjQx/1dxTrFBLScWNLgheIc5iI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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