SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd939419781e4007593618a7a5b49db248ff51a076eca4febc87190eb695b815' 
  AND token = 'BUd2LXiMFmvRyk2ooQDpEVmTDWpSXanUmP85DsaPWts=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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