SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31ecacbac20020c5394b871da943aa1fa24efc18c6c4437ef879f8cc5545927b' 
  AND token = 'u9d5nxqsw1eHu1C2DSPE6HVBmD0VQ/NIG/rBDF6sKv8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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