SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1d0a4b1d97927cc81e8b2a68e914e8de01970fe7f3ce9bc51ffd18c571d10a1' 
  AND token = 'Mo6zvL1TI1LpJrCgr1F1Ec0dudbWBf+IeKRsAp/7O/k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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