SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '90b1c097edf601e676e5d6a2bd6a8156a34abef3541097f010643907874fa93f' 
  AND token = '6p6oC8OCmkLInWSz9l+r0HejifgsTJZXjSEsm1u3dfM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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