SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '89451e351238116e405a26a21f613389ccd88a1f587225f3c2d4530cf8721afb' 
  AND token = 'DnGzMyBLZaOliD5cddLWn9LUhebPh4p6Sx2v2XxYwW4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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