SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aedcf5a41e60b6f9f325d51caffd4c0c2b2d8e2c8665f1592ccd53f0565938ec' 
  AND token = 'y/HjQoawZeaDFYLkdkc1XVvDSt85EjfQSvMkmhnt5T8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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