SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd34b1b4c402ec3c558555ce3fcf80b093a4787d7d5bd3bed51bac6efaae81e4a' 
  AND token = 'CmRaenToZ2bGF9xUYBEB11L0IeM869RK5AeI+IG/Pso=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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